package com.cskaoyan.service.wxorder;

import com.cskaoyan.bean.OrderGoods;
import com.cskaoyan.bean.wxAuth.bo.WxAuthCommentBo;
import com.cskaoyan.bean.wxorder.bo.WxOrderSubmitBo;
import com.cskaoyan.bean.wxorder.vo.WxOrderDetailVo;
import com.cskaoyan.bean.wxorder.vo.WxOrderListVo;

public interface WxOrderService {
    WxOrderListVo list(Integer showType, Integer page, Integer size);

    WxOrderDetailVo getOrderDetail(Integer orderId);

    OrderGoods goods(Integer orderId, Integer goodsId);

    Integer addComment(WxAuthCommentBo comment);

    Integer confirmForOrder(Integer orderId);

    Integer cancelOrderByOrderId(Integer orderId);

    Integer perpay(Integer oderId);

    Integer deleteOrderById(Integer oderId);

    Integer refundOrderById(Integer oderId);

    Integer addOrder(WxOrderSubmitBo submitPerm);
}
